﻿<!DOCTYPE html>
<html lang="ru">
<head>
	<!--[if lt IE 9]><script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
	<title>Главная страница</title>
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
	<meta name="keywords" content="" />
	<meta name="description" content="" />
        <meta name="viewport" content="width=device-width, initial-scale=1"> 
        <link href="chocolate.css" rel="stylesheet">
           
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
 
<script type="text/javascript">
 
$(function() {
 
$(window).scroll(function() {
 
if($(this).scrollTop() != 0) {
 
$('#toTop').fadeIn();
 
} else {
 
$('#toTop').fadeOut();
 
}
 
});
 
$('#toTop').click(function() {
 
$('body,html').animate({scrollTop:0},800);
 
});
 
});
</script>
</head>


<body>
$ADMIN_BAR$
<div class="wrapper">
$GLOBAL_AHEADER$

<?if($MODULE_ID$='index' and ($URI_ID$='page1'))?>
	<header class="header">
<ul class="flex menu">
<li aria-haspopup="true"><a href="#" >Главная</a></li>
<li aria-haspopup="true"><a href="#" >О нас</a></li>
<li aria-haspopup="true"><a href="#" >Обратная связь</a></li>
<li aria-haspopup="true"><a href="#" >Гостевая</a></li>
<li aria-haspopup="true"><a href="#" >Статьи</a></li>
<li aria-haspopup="true"><a href="#" >Форум</a></li>
<li aria-haspopup="true"><a href="#" >Файлы</a></li>
</ul>

<div id="head"><h1>Мой сайт</h1><span class="slogan">Все, что Вам интересно!</span></div>
<form>
    <input placeholder="Поиск" type="search">
</form>
	</header><!-- .header-->
<?endif?> 
	<div class="middle">
<?if($MODULE_ID$='index' and ($URI_ID$!='page1'))?>
		<div class="container">
			<main class="content">
$CONTENT$			
<p class="txt">
Здесь любой Ваш текст, фото, <a href="#">ссылки</a> и т.д. и т.п.
</p>		</main><!-- .content -->
		</div><!-- .container-->

		<!-- .middle-->
<?endif?> 

<?if($MODULE_ID$='index' and ($URI_ID$='page1'))?>
</div>
<?endif?>
</div>
<!-- .wrapper -->

<footer class="footer">
<a href="#" class="social">Вход</a><a href="#" class="social_2">Регистрация</a>
$GLOBAL_BFOOTER$
Бесплатный конструктор <a href="#" >Ucoz</a>	
<div id = "toTop" > ^ Наверх </div>
</footer><!-- .footer -->
</body>
</html>